-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Added amomin, amomax, amominu, amomaxu to Core & Caches #615
base: master
Are you sure you want to change the base?
Conversation
I thought I needed these for nbody, and did not. Work in progress because these are not tested or validated. Perhaps someone can build off of my work
@@ -157,7 +157,7 @@ module bsg_manycore_link_to_cache | |||
e_cache_op: begin | |||
return_pkt_type = e_return_credit; | |||
end | |||
e_remote_amoswap, e_remote_amoor, e_remote_amoadd: begin | |||
e_remote_amoswap, e_remote_amoor, e_remote_amoadd, e_remote_amomin, e_remote_amomax, e_remote_amominu, e_remote_amomaxu: begin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also need to assign opcode in the case statement starting at line 285
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
These seem useful! M |
I agree, but I don't have an immediate use case (though I have an idea for how this might help the MCS lock). Do you want me to push it through? Happy to address the comment above and write a few test cases |
Looks interesting, needs some tests too |
Yep. I just addressed Tommy's comment while I had a moment. |
I thought I needed these for nbody, and did not. Work in progress
because these are not tested or validated. Perhaps someone can build
off of my work
WIP and DNM until someone needs them.